package com.genntii.examManager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.genntii.examManager.common.result.PageResult;
import com.genntii.examManager.domain.entity.CourseRecord;
import com.genntii.examManager.domain.vo.UserVO;

public interface CourseRecordService extends IService<CourseRecord> {

    void takePartInCourse(Long courseId, Long userId);

    PageResult<UserVO> getStudentListByCourse(Integer pageNum, Integer pageSize, Long courseId, String sortField, String sortOrder);


    void expel(Long courseId, Long userId);
}
